/**
 * 查看房屋详情枚举
 */
export const HOUSE_PROPERTY_ENUM = [
  {
    label: "房屋地址",
    fieldName: "region",
  },
  {
    label: "户主名称",
    fieldName: "ownName",
  },
  {
    label: "手机号码",
    fieldName: "mobile",
  },
  {
    label: "小区名称",
    fieldName: "neighborhood",
  },
  {
    label: "门牌号",
    fieldName: "houseNumber",
  },
  {
    label: "矫正门牌号",
    fieldName: "correctHouseNumber",
  },
  {
    label: "面积",
    fieldName: "size",
  },
  // {
  //   label: "房屋结构",
  //   fieldName: "houseStructureText",
  // },
  // {
  //   label: "房屋类型",
  //   fieldName: "houseTypeText",
  // },
  {
    label: "户型",
    fieldName: "floorPlan",
  },
  {
    label: "房产证明",
    fieldName: "certificateFile",
    image: true,
  },
  // {
  //   label: "装修预算",
  //   fieldName: "decorationBudget",
  // },
  // {
  //   label: "装修风格",
  //   fieldName: "decorationStyleText",
  // },

  {
    label: "状态",
    fieldName: "status",
  },
  {
    label: "申请时间",
    fieldName: "applyTime",
  },
  // {
  //   label: "装修形式",
  //   fieldName: "decorationTypeText",
  // },
  // {
  //   label: "空间个性化需求-描述",
  //   fieldName: "personalizedNeedsDesc",
  // },
  // {
  //   label: "优先考虑",
  //   fieldName: "intentionIdentity",
  // },
  // {
  //   label: "是否需要装修贷",
  //   fieldName: "decorationLoan",
  // },
  // {
  //   label: "房屋所有权证",
  //   fieldName: "ownershipCertificateFile",
  //   image: true,
  // },
  // {
  //   label: "身份证正面",
  //   fieldName: "idCardFrontFile",
  //   image: true,
  // },
  // {
  //   label: "身份证反面",
  //   fieldName: "idCardBackFile",
  //   image: true,
  // },
  // {
  //   label: "身份证号",
  //   fieldName: "idNumber",
  // },
  // {
  //   label: "身份证有效期",
  //   fieldName: "idCardValidity",
  // },
];
/**
 * 房屋需求阶段枚举
 */
export const HOUSE_DECORATION_STEP_ENUM = [
  {
    label: "未认证",
    value: 0,
  },
  {
    label: "认证阶段",
    value: 1,
  },
  {
    label: "设计建档",
    value: 2,
  },
  {
    label: "施工建档/材料选购",
    value: 3,
  },
  {
    label: "家具进场/软装布置",
    value: 4,
  },
  {
    label: "乔迁之喜",
    value: 5,
  },
];
const HOUSE_DECORATION_STEP_ENUM_OBJECT = {};
HOUSE_DECORATION_STEP_ENUM.forEach((item) => {
  HOUSE_DECORATION_STEP_ENUM_OBJECT[item.value] = item.label;
});
export { HOUSE_DECORATION_STEP_ENUM_OBJECT };

/**
 *
 * 需要对象处理的枚举
 */
export const HANDLE_OBJECT_ENUM = ["householdMembers"];

/**
 * 房屋认证的状态枚举
 *
 */
export const HOUSE_AUTHENTICATION_STATUS_ENUM = {
  0: {
    label: "未认证",
    type: "warning",
  },
  1: {
    label: "认证成功",
    type: "success",
  },
  2: {
    label: "认证失败",
    type: "danger",
  },
};
